/// @description Insert description here
// You can write your code in this editor
var xFollow = objPlayer.x;
var yFollow = objPlayer.y;
xFollow = floor(xFollow/view_wport[0])*view_wport[0];
yFollow = floor(yFollow/view_hport[0])*view_hport[0];
	
camera_set_view_pos(view_camera[0],xFollow,yFollow);